package com.oracle.vo;

import java.util.List;

public class Order {

    private Integer iOrderNo; //订单编号
    private String sUserName; //帐户名称
    private List<Item> lItems; //商品信息

    public Order() {
    }

    public Order(Integer iOrderNo, String sUserName, List<Item> lItems) {
        this.iOrderNo = iOrderNo;
        this.sUserName = sUserName;
        this.lItems = lItems;
    }

    @Override
    public String toString() {
        return "Order{" +
                "iOrderNo=" + iOrderNo +
                ", sUserName='" + sUserName + '\'' +
                ", lItems=" + lItems +
                '}';
    }

    public Integer getiOrderNo() {
        return iOrderNo;
    }

    public void setiOrderNo(Integer iOrderNo) {
        this.iOrderNo = iOrderNo;
    }

    public String getsUserName() {
        return sUserName;
    }

    public void setsUserName(String sUserName) {
        this.sUserName = sUserName;
    }

    public List<Item> getlItems() {
        return lItems;
    }

    public void setlItems(List<Item> lItems) {
        this.lItems = lItems;
    }
}
